home *** CD-ROM | disk | FTP | other *** search
-
- //<HEADER_BEGIN>
- //================================================
- //File name: uxfsepv.h
- //Date : January, 15 2002 12:15
- //Copyright (c) 2002 - Crystal Decisions Corp.
- //================================================
- //<HEADER_END>
-
- #if !defined (UXFSEPV_H)
- #define UXFSEPV_H
-
- // Set 1-byte structure alignment
- #if !defined (MAINWIN)
- #if defined (__BORLANDC__) // Borland C/C++
- #pragma option -a-
- #elif defined (_MSC_VER) // Microsoft Visual C++
- #if _MSC_VER >= 900 // MSVC 2.x and later
- #pragma pack (push)
- #endif
- #pragma pack (1)
- #endif
- #endif
-
- #if defined (__cplusplus)
- extern "C"
- {
- #endif
-
- #define UXFCommaSeparatedType 0
- #define UXFTabSeparatedType 1
- #define UXFCharSeparatedType 2
- #define UXFSeparatedValuesType 3
-
-
- typedef struct UXFCharCommaTabSeparatedOptionsA
- {
- WORD structSize;
-
- BOOL useReportNumberFormat;
- BOOL useReportDateFormat;
- char stringDelimiter;
- char FAR *fieldDelimiter;
-
- WORD nEncodedBytes;
- }
- UXFCharCommaTabSeparatedOptionsA;
- #define UXFCharCommaTabSeparatedOptionsASize (sizeof (UXFCharCommaTabSeparatedOptionsA))
-
- typedef struct UXFCharCommaTabSeparatedOptionsW
- {
- WORD structSize;
-
- BOOL useReportNumberFormat;
- BOOL useReportDateFormat;
- wchar_t stringDelimiter;
- wchar_t FAR *fieldDelimiter;
-
- WORD nEncodedBytes;
- }
- UXFCharCommaTabSeparatedOptionsW;
- #define UXFCharCommaTabSeparatedOptionsWSize (sizeof (UXFCharCommaTabSeparatedOptionsW))
-
- #if defined (UNICODE)
- typedef UXFCharCommaTabSeparatedOptionsW UXFCharCommaTabSeparatedOptions;
- #else
- typedef UXFCharCommaTabSeparatedOptionsA UXFCharCommaTabSeparatedOptions;
- #endif
-
- typedef UXFCharCommaTabSeparatedOptions UXFCharSeparatedOptions;
- typedef UXFCharCommaTabSeparatedOptions UXFCommaTabSeparatedOptions;
-
- #define UXFCharCommaTabSeparatedOptionsSize (sizeof (UXFCharCommaTabSeparatedOptions))
-
- #define UXFCharSeparatedOptionsSize UXFCharCommaTabSeparatedOptionsSize
- #define UXFCommaTabSeparatedOptionsSize UXFCharCommaTabSeparatedOptionsSize
-
- #if defined (__cplusplus)
- }
- #endif
-
- // Reset structure alignment
- #if !defined (MAINWIN)
- #if defined (__BORLANDC__)
- #pragma option -a.
- #elif defined (_MSC_VER)
- #if _MSC_VER >= 900
- #pragma pack (pop)
- #else
- #pragma pack ()
- #endif
- #endif
- #endif
-
- #endif
-